package org.zecontech.extraplus.datagen;

import net.minecraft.data.PackOutput;
import net.neoforged.neoforge.common.data.LanguageProvider;
import org.zecontech.extraplus.ExtraPlus;
import org.zecontech.extraplus.datagen.levelgen.ModBiomeProvider;
import org.zecontech.extraplus.init.ModBlocks;
import org.zecontech.extraplus.init.ModEntities;
import org.zecontech.extraplus.init.ModItems;

/**
 * 模组中文翻译数据文件提供者
 */
public class ModLanguageProviderZh extends LanguageProvider {

    public ModLanguageProviderZh(PackOutput output) {
        super(output, ExtraPlus.MOD_ID, "zh_cn");
    }

    /**
     * 添加翻译
     */
    @Override
    protected void addTranslations() {
        add(ModItems.KELONG.get(), "科龙生成蛋");
        add(ModEntities.KELONG.get(), "科龙");
        add(ModEntities.NAILONG.get(), "奶龙");
        add(ModItems.CHENTAO.get(), "橙桃");
        add(ModItems.NAILONG_JAR.get(), "奶龙罐头");
        add(ModItems.KELONG_MEAT.get(), "科龙肉");
        add(ModItems.RUBY_PICKAXE.get(), "红宝石镐");
        add(ModItems.RUBY_AXE.get(), "红宝石斧");
        add(ModItems.RUBY_SHOVEL.get(), "红宝石铲");
        add(ModItems.RUBY_HOE.get(), "红宝石锄头");
        add(ModItems.RUBY_SWORD.get(), "红宝石剑");
        add(ModItems.RUBY.get(), "红宝石");
        add("itemGroup.extraplus.misc", "额外拓展丨杂项");
        add("itemGroup.extraplus.tools", "额外拓展丨工具");
        add("itemGroup.extraplus.combat", "额外拓展丨战斗");
        add("itemGroup.extraplus.food", "额外拓展丨食物");
        add(ModItems.RUBY_APPLE.get(), "红宝石苹果");
        add(ModItems.COOKED_RUBY_APPLE.get(), "红宝石苹果（熟）");
        add(ModItems.SWORD_RED.get(), "剑(红)");
        add(ModItems.RUBY_HELMET.get(), "红宝石头盔");
        add(ModItems.RUBY_CHESTPLATE.get(), "红宝石胸甲");
        add(ModItems.RUBY_LEGGINGS.get(), "红宝石护腿");
        add(ModItems.RUBY_BOOTS.get(), "红宝石靴子");
        add(ModItems.RUBY_HORSE_ARMOR.get(), "红宝石马甲");
        add(ModItems.AMBER.get(), "琥珀");
        add(ModItems.AMBER_PICKAXE.get(), "琥珀镐");
        add(ModItems.AMBER_AXE.get(), "琥珀斧");
        add(ModItems.AMBER_SHOVEL.get(), "琥珀铲");
        add(ModItems.AMBER_HOE.get(), "琥珀锄头");
        add(ModItems.AMBER_SWORD.get(), "琥珀剑");
        add(ModItems.AMBER_HELMET.get(), "琥珀头盔");
        add(ModItems.AMBER_CHESTPLATE.get(), "琥珀胸甲");
        add(ModItems.AMBER_LEGGINGS.get(), "琥珀护腿");
        add(ModItems.AMBER_BOOTS.get(), "琥珀靴子");
        add(ModItems.EMERALD_PICKAXE.get(), "绿宝石镐");
        add(ModItems.EMERALD_AXE.get(), "绿宝石斧");
        add(ModItems.EMERALD_SHOVEL.get(), "绿宝石铲");
        add(ModItems.EMERALD_HOE.get(), "绿宝石锄头");
        add(ModItems.EMERALD_SWORD.get(), "绿宝石剑");
        add(ModItems.EMERALD_HELMET.get(), "绿宝石头盔");
        add(ModItems.EMERALD_CHESTPLATE.get(), "绿宝石胸甲");
        add(ModItems.EMERALD_LEGGINGS.get(), "绿宝石护腿");
        add(ModItems.EMERALD_BOOTS.get(), "绿宝石靴子");
        add(ModItems.SILVER_INGOT.get(), "银锭");
        add(ModItems.SILVER_SWORD.get(), "银剑");
        add(ModItems.SILVER_PICKAXE.get(), "银镐");
        add(ModItems.SILVER_AXE.get(), "银斧");
        add(ModItems.SILVER_SHOVEL.get(), "银铲");
        add(ModItems.SILVER_HOE.get(), "银锄");
        add(ModItems.SILVER_HELMET.get(), "银头盔");
        add(ModItems.SILVER_CHESTPLATE.get(), "银胸甲");
        add(ModItems.SILVER_LEGGINGS.get(), "银护腿");
        add(ModItems.SILVER_BOOTS.get(), "银靴子");
        add(ModItems.FRIED_EGG.get(), "煎蛋");
        add(ModBlocks.PEPPER.get(), "胡椒");
        add(ModBlocks.RUBY_ORE.get(), "红宝石矿");
        add(ModBlocks.RUBY_BLOCK.get(), "红宝石块");
        add(ModBlocks.PLANTAGO.get(), "车前草");
        add(ModBlocks.POTTED_PLANTAGO.get(), "车前草盆栽");
        add(ModBlocks.AMBER_BLOCK.get(), "琥珀块");
        add(ModBlocks.SILVER_BLOCK.get(), "银块");
        add(ModBlocks.ACHILLEA_WHITE.get(), "白蓍草");
        add(ModBlocks.POTTED_ACHILLEA_WHITE.get(), "白蓍草盆栽");
        add(ModBlocks.ANAGALLIS_YELLOW.get(), "黄萼琉璃繁缕");
        add(ModBlocks.POTTED_ANAGALLIS_YELLOW.get(), "黄萼琉璃繁缕盆栽");
        add(ModBlocks.AMBER_ORE.get(), "琥珀矿");
        add(ModBlocks.ANTIRRHINUM.get(), "金鱼草");
        add(ModBlocks.POTTED_ANTIRRHINUM.get(), "金鱼草盆栽");
        add(ModBlocks.CAMPANULA_BLUE.get(), "蓝风铃草");
        add(ModBlocks.POTTED_CAMPANULA_BLUE.get(), "蓝风铃草盆栽");
        add(ModBlocks.CENTAUREA.get(), "矢车菊");
        add(ModBlocks.POTTED_CENTAUREA.get(), "矢车菊盆栽");
        add(ModBlocks.DIGITALIS_BLUE.get(), "蓝地黄草");
        add(ModBlocks.POTTED_DIGITALIS_BLUE.get(), "蓝地黄草盆栽");
        add(ModBlocks.DIGITALIS_YELLOW.get(), "黄地黄草");
        add(ModBlocks.POTTED_DIGITALIS_YELLOW.get(), "黄地黄草盆栽");
        add(ModBlocks.DOSERA.get(), "茅膏草");
        add(ModBlocks.POTTED_DOSERA.get(), "茅膏草盆栽");
        add(ModBlocks.ONION.get(), "洋葱");
        add(ModBlocks.ETHEREAL_STRAWBERRY.get(), "梦幻草莓");
        add(ModBlocks.IRIS.get(), "鸢尾花");
        add(ModBlocks.POTTED_IRIS.get(), "鸢尾花盆栽");
        add(ModBlocks.LEONTOPODIUM_WHITE.get(), "白叶火绒草");
        add(ModBlocks.POTTED_LEONTOPODIUM_WHITE.get(), "白叶火绒草盆栽");
        add(ModBlocks.LEUCANTHEMUM_WHITE.get(), "白叶滨菊");
        add(ModBlocks.POTTED_LEUCANTHEMUM_WHITE.get(), "白叶滨菊盆栽");
        add(ModBlocks.MUSHROOM_AMANITA_GREEN.get(), "绿色鹅膏菌");
        add(ModBlocks.POTTED_MUSHROOM_AMANITA_GREEN.get(), "绿色鹅膏菌盆栽");
        add(ModBlocks.MUSHROOM_BOLETUS.get(), "牛肝菌");
        add(ModBlocks.POTTED_MUSHROOM_BOLETUS.get(), "牛肝菌盆栽");
        add(ModBlocks.MUSHROOM_CANTHARELLUS.get(), "鸡油菌");
        add(ModBlocks.POTTED_MUSHROOM_CANTHARELLUS.get(), "鸡油菌盆栽");
        add(ModBlocks.MUSHROOM_GALERINA.get(), "盔孢伞菌");
        add(ModBlocks.POTTED_MUSHROOM_GALERINA.get(), "盔孢伞菌盆栽");
        add(ModBlocks.SNOW_BRICKS.get(), "雪砖");
        add(ModBlocks.ICE_BRICKS.get(),"冰砖");
        add(ModBlocks.MUSHROOM_GYROMITRA.get(), "鹿花菌");
        add(ModBlocks.POTTED_MUSHROOM_GYROMITRA.get(), "鹿花菌盆栽");
        add(ModBlocks.MUSHROOM_MACROLEPIOTA.get(), "大环柄菇");
        add(ModBlocks.POTTED_MUSHROOM_MACROLEPIOTA.get(), "大环柄菇盆栽");
        add(ModBlocks.PAPVER_RED.get(), "红纸叶花");
        add(ModBlocks.POTTED_PAPVER_RED.get(), "红纸叶花盆栽");
        add(ModBlocks.TRIFOLIUM_RED.get(), "红车轴草");
        add(ModBlocks.POTTED_TRIFOLIUM_RED.get(), "红车轴草盆栽");
        add(ModBlocks.TRIFOLIUM_WHITE.get(), "白车轴草");
        add(ModBlocks.POTTED_TRIFOLIUM_WHITE.get(), "白车轴草盆栽");
        add(ModBlocks.WILLOW_LOG.get(), "柳树原木");
        add(ModBlocks.WILLOW_LEAVES.get(), "柳树树叶");
        add(ModBlocks.WILLOW_WOOD.get(), "柳木");
        add(ModBlocks.WILLOW_PLANKS.get(), "柳树木板");
        add(ModBlocks.WILLOW_SAPLING.get(), "柳树苗");
        add(ModBlocks.POTTED_WILLOW_SAPLING.get(), "柳树苗盆栽");
        addBiome(ModBiomeProvider.WILLOW_FOREST, "柳树森林");
    }
}
